package my.jwds.p521;

public class FindLUSlength {
    public static void main(String[] args) {
        FindLUSlength obj = new FindLUSlength();
    }




    public int findLUSlength(String a, String b) {
        if(a.equals(b))return -1;
        return a.length()>b.length() ? a.length() : b.length();
    }
}